<h3><?php echo $this->rowUsuario->st_nome; ?></h3>
<div id="ev-listagem">
    <ul>
    <?php foreach ($this->aPapeis as $oPapel) : ?>
        <li>
            <?php if ($oPapel->responsavel) : ?>
            *
            <?php endif; ?>

            [<?php echo $oPapel->st_codigo; ?>] <?php echo $oPapel->st_nome; ?>
        </li>
        <ol>
        <?php foreach ($oPapel->rowSetAtividades as $rowAtividade) :
            $url = ($rowAtividade->st_url) ? $this->baseUrl() . $rowAtividade->st_url : '#';
        ?>
            <li>
                <a href="<?php echo $url; ?>" title="<?php echo $rowAtividade->st_descricao; ?>" class="atividade">
                    &nbsp;&nbsp;&nbsp;&nbsp;[<?php echo $rowAtividade->st_codigo; ?>] <?php echo $rowAtividade->st_nome; ?></li>
                </a>
        <?php endforeach; ?>
        </ol>
    <?php endforeach; ?>
    </ul>
</div>

<script type="text/javascript">
$().ready(function(){
    $(".atividade[title]").tooltip({position:"center"});
});
</script>